import { defAxios as request } from '@/utils/http'

// 查询缓存内容
export function getCacheValue(value) {
  return request({
    url: '/cache/getCacheDataByKey',
    method: 'GET',
    params: {
      code: value
    }
  })
}

// 清理缓存
export function clearCacheKey(params) {
  return request({
    url: '/cache/deleteCacheDataByKey',
    method: 'post',
    data: params
  })
}

